
<?php
session_start();
 if(isset($_SESSION['id_user'])){ 
		if ($_SESSISON['id_priv'] == 1){
	
			header("Location: /incofarming/Functions/koperasi/dashkop.php");
		}
		else if($_SESSISON['id_priv'] == 0){
			header("Location: /incofarming/Functions/admin/dashboard-admin.php");
		}
	} else{
header ('Location: /incofarming/Views/login_view.php');
	}

?>